package com.huarui.employee.model;

import java.util.Date;

import org.ewaf.framework.model.BaseDataObject;
/**
 * xzz
 * @author Administrator
 *
 */

public class Employee extends BaseDataObject {

	private static final long serialVersionUID = 1983304027968612810L;

	/*
	 * 用户角色的枚举值
	 */

	public static final int ROLRS_MANAGER = 0;
	public static final int ROLES_BUSINESSOR = 1;

	/**
	 * 用户入职状态的枚举值
	 */
	public static final boolean incumbent_off = false;
	public static final boolean incumbent_on = true;
	/**
	 * 
	 * 员工ID
	 */
	private Integer id;
	/**
	 * 
	 * 操作员名字
	 */
	private String name;
	/**
	 * 
	 * 拼音码
	 */
	private String pyCode;
	/**
	 * 部门ID
	 */
	private Integer departmentId;
	/**
	 * 部门名称
	 */
	private String departmentName;
	/**
	 * 
	 * 用户ID
	 */
	private int userId;
	private Date userBirthday;
	private String userIdent;
	private String userMemo;
	private String userEmail;
	private String userName;
	private Integer userSex;
	/**
	 * 
	 * 备注
	 */

	private String memo;

	/**
	 * 
	 * 是否在职
	 */
	private boolean incumbent = false;	
	/**
	 * 
	 * 所在公司ID
	 */
	private int companyId;
	/**
	 * 
	 * 员工编号
	 */
	private String code;
	/**
	 * 
	 * 员工入职时间
	 */

	private Date gmtHire;
	/**
	 * 
	 * 是否删除员工
	 */ 
	private int isDelete;
	/**
	 * 
	 * 员工角色(管理员，业务人员)
	 */
	private int roles=ROLES_BUSINESSOR;
	
	/**
	 * 
	 * 员工注册时间
	 */
	private Date gmtCreate;
	/**
	 * 
	 * 员工信息修改时间
	 */
	private Date gmtModify;

	public int getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(int isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPyCode() {
		return pyCode;
	}

	public void setPyCode(String pyCode) {
		this.pyCode = pyCode;
	}
	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public boolean isIncumbent() {
		return incumbent;
	}

	public Integer getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}

	public void setIncumbent(boolean incumbent) {
		this.incumbent = incumbent;
	}

	public int getCompanyId() {
		return companyId;
	}

	public void setCompanyId(int companyId) {
		this.companyId = companyId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Date getGmtHire() {
		return gmtHire;
	}

	public void setGmtHire(Date gmtHire) {
		this.gmtHire = gmtHire;
	}

	public int getRoles() {
		return roles;
	}

	public void setRoles(int roles) {
		this.roles = roles;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public Date getUserBirthday() {
		return userBirthday;
	}

	public void setUserBirthday(Date userBirthday) {
		this.userBirthday = userBirthday;
	}

	public String getUserIdent() {
		return userIdent;
	}

	public void setUserIdent(String userIdent) {
		this.userIdent = userIdent;
	}

	public String getUserMemo() {
		return userMemo;
	}

	public void setUserMemo(String userMemo) {
		this.userMemo = userMemo;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public Integer getUserSex() {
		return userSex;
	}

	public void setUserSex(Integer userSex) {
		this.userSex = userSex;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	
}